package com.xcity.game.task.condition;

import com.alibaba.fastjson.annotation.JSONField;
import com.xcity.game.task.TaskCondition;
import com.xcity.game.task.TaskTemplate;

public class TrainEmployeeTimesTaskCondition extends TaskCondition {

	@JSONField(serialize = false)
	protected int level;
	
	public TrainEmployeeTimesTaskCondition(TaskTemplate template) {
		super(template);
		int[] conds = template.getConditions();
		level = conds[0];
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	@Override
	public int toClientCond() {
		// TODO Auto-generated method stub
		return 0;
	}

}
